package com.sourceQ.system.mapper.tenant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sourceQ.system.domain.tenant.TenantPackage;
import com.sourceQ.system.dto.tenant.TenantPackagePageReqDTO;
import com.sourceQ.system.vo.tenant.TenantPackageRespVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: SourceQ
 * @create: 2024-03-26 10:15
 * @Description:
 */
public interface TenantPackageMapper extends BaseMapper<TenantPackage> {

    List<TenantPackage> selectListByStatus(String status);

    IPage<TenantPackage> getPageByParams(Page page,@Param("pageReqVO") TenantPackagePageReqDTO pageReqVO);

    List<TenantPackageRespVO> getAllByParamsToList(@Param("pageReqVO") TenantPackagePageReqDTO pageReqVO);
}
